package com.mb.mp.dao;


import com.mb.common.utils.Query;
import com.mb.mp.domain.HxhBrandDO;

import java.util.List;

public interface IHxhBrandDAO {
    int deleteByPrimaryKey(Long brandId);

    int insert(HxhBrandDO record);

    int insertSelective(HxhBrandDO record);

    HxhBrandDO selectByPrimaryKey(Long brandId);

    int updateByPrimaryKeySelective(HxhBrandDO record);

    int updateByPrimaryKey(HxhBrandDO record);

    // 列表
    List<HxhBrandDO> list(Query query);

    Integer count(Query query);

    // 查看该品牌是否重复
    int selectByBrandName(String brandName);

    // 查看热门品牌数量
    int selectByHots();
}